Skip to content

Document checkpoint_ns on task ToolMessage artifact (Deep Agents JS) - #8037

Merged
Naomi Pentrel (npentrel) merged 6 commits into
mainfrom
docs/deepagentsjs-1.16.5-checkpoint-ns-artifact
Nov 26, 2026
Merged

Naomi Pentrel (npentrel) merged 6 commits into
mainfrom
docs/deepagentsjs-1.16.5-checkpoint-ns-artifact

Conversation

@npentrel

Copy link
Copy Markdown
Contributor

Summary

  • Document the new checkpoint_ns field on the task tool's ToolMessage.artifact, which lets clients load a finished subagent's checkpoint history by namespace
  • Triggered by deepagentsjs release deepagents@1.16.5

Linear

Closes DOC-2018

Source evidence

  • Repo: langchain-ai/deepagentsjs
  • Tag: deepagents@1.16.5
  • libs/deepagents/src/middleware/subagents.ts: checkpointNs, returnCommandWithStateUpdate, runSubagent

Test plan

  • Preview the changed pages
  • Confirm claims against the cited product source at the tag
  • Run make lint_prose FILES="src/oss/deepagents/subagents.mdx" when possible

Prepared with Claude Code.

@npentrel Naomi Pentrel (npentrel) added the release-watch-agent Draft docs PR opened by the docs-release-watch agent label Nov 23, 2026
@github-actions github-actions Bot added internal deepagents For docs changes to Deep Agents oss labels Nov 23, 2026

@robin-agent robin-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robin Review found 2 potential issues.

Open in Robin • View Robin trace

Comment thread src/oss/deepagents/subagents.mdx Resolved
Comment thread src/oss/deepagents/subagents.mdx Resolved
Move the JS-only heading inside the language fence, and replace the values-mode stream loop with an invoke plus getStateHistory example that defines a checkpointer and thread_id.

Co-authored-by: Cursor <cursoragent@cursor.com>
@npentrel
Naomi Pentrel (npentrel) force-pushed the docs/deepagentsjs-1.16.5-checkpoint-ns-artifact branch from 0a6dd36 to 20fae19 Compare November 26, 2026 14:04
@github-actions github-actions Bot removed oss deepagents For docs changes to Deep Agents labels Nov 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

"The model never sees artifact" is maybe over documenting?

Comment thread src/oss/deepagents/subagents.mdx Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-docs-deepagentsjs-1-16-5-da8fc45a

Site preview: https://langchain-5e9cc07a-preview-docs-deepagentsjs-1-16-5-da8fc45a.mintlify.site

Important

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):

@npentrel
Naomi Pentrel (npentrel) merged commit fff4511 into main Nov 26, 2026
29 checks passed
@npentrel
Naomi Pentrel (npentrel) deleted the docs/deepagentsjs-1.16.5-checkpoint-ns-artifact branch November 26, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents For docs changes to Deep Agents internal oss release-watch-agent Draft docs PR opened by the docs-release-watch agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants